<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	request.setAttribute("basePath", basePath);
	String drgsManageInfoJson = (String) request.getAttribute("drgsManageInfoJson");
	String respondResultJson = (String) request.getAttribute("respondResultJson");
%>
<link rel="stylesheet"
	href="${basePath}assets/bootstrap/css/bootstrap.css" />
<link rel="stylesheet" href="${basePath}assets/jquery-ui/jquery-ui.css" />
<link rel="stylesheet"
	href="${basePath}assets/css/coding_attached/edit_index_info.css" />

<script type="text/javascript"
	src="${basePath}assets/jquery/jquery.min.js"></script>
<script type="text/javascript"
	src="${basePath}assets/bootstrap/js/bootstrap.js"></script>
<script type="text/javascript"
	src="${basePath}assets/jquery-ui/jquery-ui.js"></script>
<script type="text/javascript" src="${basePath}assets/layer/layer.js"></script>
<script type="text/javascript"
	src="${basePath}assets/cityselect/cityselect/cityselect.js"></script>
<script type="text/javascript" src="${basePath}assets/js/header.js"></script>

<script type="text/javascript" src="${basePath}assets/js/iframe.js"></script>
<script type="text/javascript"
	src="${basePath}assets/My97DatePicker/WdatePicker.js"></script>
<script src="${basePath}assets/distpicker/js/distpicker.data.js"></script>
<script src="${basePath}assets/distpicker/js/distpicker.js"></script>
<script src="${basePath}assets/distpicker/js/main.js"></script>
<script type="text/javascript"
	src="${basePath}assets/jqueryValidate/jquery.validate.js"></script>

<script type="text/javascript"
	src="${basePath}assets/jqueryValidate/localization/messages_zh.js"></script>
<script type="text/javascript"
	src="${basePath}assets/js/coding_attached/edit_drgs_manage_info.js"></script>
<input type="hidden" id="basePath" value="${basePath }">
<form action="${basePath}medical_record_attached_coding/edit_drgs_manage_info"
	method="post" id="drgsManageInfoForm">
	<input type="hidden" name="visitGuid" value="${visitGuid }">
	<table style="width:99%;">
		<thead>
			<tr>
				<td colspan="7"><!-- <input type="button" hidden="hidden" onclick="formSubmit(this)" value="保存" class="btn" disabled="disabled"> -->
				</td>
			</tr>
		</thead>
		<tbody>
			<tr>
				<td class="tdLabel_10_label" rowspan="3">DRGs</td>
				<td class="tdLabel_30_value" colspan="2">
					是否纳入DRGs管理病例:
					<input type="radio" class="radio_cl" name="whetherDRGsManageCode" title="是 " value="1"/>
						是 
					<input type="radio" class="radio_cl" name="whetherDRGsManageCode" title="否" value="2"/>
						否 
					<input type="hidden" name="whetherDRGsManageName"/>
				</td>

				<td class="tdLabel_30_value" colspan="2">
					我院DRGs风险分组:&nbsp;&nbsp;<select name="localDRGsRiskGroupCode" data-type="localDRGsRiskGroup" style="width: 40%">
					</select>
					<input type="hidden" name="localDRGsRiskGroupName">
				</td>
				
			</tr>
			<tr>
				<td class="tdLabel_30_value" colspan="2">
					DRGs分组代码:&nbsp;&nbsp;
					<input type="text" name="localDRGsShow" style="width: 70%;" >
				</td>
				<td class="tdLabel_30_value" colspan="2">
					我院DRGs组权重:&nbsp;&nbsp;
					<input type="text" name="localDRGsGroupWeight" >
				</td>
			</tr>
			<tr>
				
				<td class="tdLabel_30_value" colspan="2">
					本病例DRGs总权重:&nbsp;&nbsp;
					<input type="text" name="localDRGsGroupTotalWeight" >
				</td>
			</tr>
			<tr>
				<td class="tdLabel_10_label">其他</td>
				<td class="tdLabel_30_value" colspan="2">
					重症监护室时间(天):&nbsp;&nbsp;
					<input type="text" name="icuNumberOfDay" >
				</td>
				<td class="tdLabel_30_value" colspan="2">
					有创呼吸机使用时间(时):&nbsp;&nbsp;
					<input type="text" name="useVentilatorNumberOfHour" >
				</td>
				
			</tr>
			<tr>
				<td class="tdLabel_10_label">MDT</td>
				<td class="tdLabel_30_value" colspan="2">
					是否MDT:
					<input type="radio" class="radio_cl" name="whetherMDTCode" title="是 " value="1"/>
						是 
					<input type="radio" class="radio_cl" name="whetherMDTCode" title="否" value="2"/>
						否 
					<input type="hidden" name="whetherMDTName"/>
				</td>

				
			</tr>
		</tbody>
	</table>
</form>

<script>
	$(function(){
		var drgsManageInfoJson = <%=drgsManageInfoJson%>;
		var respondResultJson = <%=respondResultJson%>
		if(respondResultJson){
			if(respondResultJson.success){
				layer.msg("保存成功");
			}else{
				layer.msg("保存失败");
			}
		}
		console.log(drgsManageInfoJson);
		initPage(drgsManageInfoJson);
		/* $("input[type='button']").removeAttr("disabled"); */
	});
</script>